<html>
<body>
<p>报告不正确的 Micronaut Data 仓库方法形参类型。</p>
<!-- tooltip end -->
<p><b>示例：</b></p>
<pre><code lang="java">
  public class Person {
    private int id;
    private String lastname;
    private Address address;
  }

  public class Address {
    private int zipCode;
  }

  public interface CustomerRepository extends CrudRepository&lt;Person, Integer&gt; {
    List&lt;Person&gt; <strong>findByAddress</strong>(String lastname);  // 应为 'Address' 类型
    List&lt;Person&gt; <strong>findByAddressZipCode</strong>(String str);   // 应为 'int' 类型
  }
</code></pre>
</body>
</html>